package com.dz.lm.service.favorite;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.dz.lm.common.dto.FavoriteDTO;
import com.dz.lm.common.exception.ServiceException;

public interface FavoriteService {
	
    List<FavoriteDTO>ListFavorite()  throws ServiceException;
	
    FavoriteDTO selectByPrimaryKey(@Param("favoriteId") Integer favoriteId) throws ServiceException;
    
    Map<String, Object> insert(Map<String, Object> param) throws ServiceException;
	
	int delete(Map<String, Object> param) throws ServiceException;
	
	Map<String, Object> qryProductFavoriteList(Map<String, Object> param) throws ServiceException;

}
